package domain;

import lombok.Data;

import java.io.Serializable;

@Data
public class WaterSensor implements Serializable {
    /**
     * 主键ID
     */
    private String id;

    /**
     * 时间戳
     */
    private Long ts;

    /**
     * 水位记录
     */
    private Integer vc;

    public WaterSensor(String id, Long ts, Integer vc) {
        this.id = id;
        this.ts = ts;
        this.vc = vc;
    }

    public WaterSensor() {
    }
}
